---
title: Hair
---

Hair shading is based on the Kajiya-Kay shading model, which approximates the dual-layer anisotropic highlights on the hair surface, commonly known as "angel rings" in hair rendering.

<Image src="https://mdn.alipayobjects.com/huamei_9ahbho/afts/img/A*k7t9RbgNMOIAAAAAAAAAAAAADgDwAQ/original"   />

## Import Example

Galacean provides you with a hair example to further help you get started. To find this example, please [click](https://galacean.antgroup.com/editor/projects).

1. Navigate to the editor homepage in the Galacean Editor.
2. Select the **Templates** panel, navigate to the template interface, preview and download the hair example to **Project**.

## Dual-layer Highlights
<Image src="https://mdn.alipayobjects.com/huamei_9ahbho/afts/img/A*IZrjTY7JbfkAAAAAAAAAAAAADgDwAQ/original"   />

## Material Properties

|        Parameter        |        Description        |
| :----------------: | :----------------: |
|   HairFirstWidth   | Adjust the width of the first layer "angel ring highlight" of the hair |
|  HairSecondWidth   | Adjust the width of the second layer "angel ring highlight" of the hair |
| HairFirstStrength  | The intensity of the first layer highlight of the hair. For example, if you need a stronger highlight effect, you can increase the value |
| HairSecondStrength | The intensity of the second layer highlight of the hair. For example, if you need a stronger highlight effect, you can increase the value |
|  HairFirstOffest   | The offset of the first layer highlight of the hair. If you want to adjust the position of the highlight, you can modify this value |
|  HairSecondOffest  | The offset of the second layer highlight of the hair. If you want to adjust the position of the highlight, you can modify this value |
|   HairFirstColor   | The color of the first layer highlight of the hair |
|  HairSecondColor   | The color of the second layer highlight of the hair |
